import request from '@/utils/request'

// 查询echarts仓库列表
export function listEchartsStore(query) {
  return request({
    url: '/largeScreen/echartsStore/list',
    method: 'get',
    params: query
  })
}

// 查询echarts仓库详细
export function getEchartsStore(id) {
  return request({
    url: '/largeScreen/echartsStore/' + id,
    method: 'get'
  })
}

// 新增echarts仓库
export function addEchartsStore(data) {
  return request({
    url: '/largeScreen/echartsStore',
    method: 'post',
    data: data
  })
}

// 修改echarts仓库
export function updateEchartsStore(data) {
  return request({
    url: '/largeScreen/echartsStore',
    method: 'put',
    data: data
  })
}

// 删除echarts仓库
export function delEchartsStore(id) {
  return request({
    url: '/largeScreen/echartsStore/' + id,
    method: 'delete'
  })
}
